package cn.saddyfire.pattern.decorator;

/**
 * @author Dee
 * @date 2024/2/3
 * <p>Description: 炒饭类(具体构建角色)
 */
public class FriedRice extends FastFood{
    public FriedRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
